<?php
//namespace core;
//defined('BY_JYA') or exit('error');
class todb{
	private $_db = null;
	public function __construct($config){
		$this->_db = new DB($config);
	}
	public function getfuniacids(){
		$funiacids = $this->_db->getall('uni_account',array('name <>'=>''));
		foreach($funiacids as &$fv){
			$fv['id']=$fv['uniacid'];
			$fv['title']=$fv['name'].'('.$fv['id'].')';
		}
		return $funiacids;
	}
}